<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>G-Search 教育信息搜索网站</title>
<link href="css/userfile.css" type="text/css" rel="stylesheet"/>
<link href="css/base.css" type="text/css" rel="stylesheet"/>
<link href="css/page.css" type="text/css" rel="stylesheet"/>
</head>



<body>

  <s:include value="../user_page_top.jsp"/>
  <div style="height:20px;"></div>
<div class = "usercont">

  	<s:include value="../user_page_left.jsp"/>
  
  
    <div class="width-800 right">
    
        
		
        
        <div style="height:20px;"></div>
        <div class="righttcont">
        	<div class="title"><h3><s:text name="_MyCollection"/></h3>
            </div>
			<table class="list_style">
  <thead>
  <tr class="tcat">
    <td style="width: 200px;"><s:text name="_FileName"/><s:text name="_OriginalText"/></td>
    <td style="width: 200px;"><s:text name="_IssuingAgency"/><s:text name="_OriginalText"/></td>
    <td style="width: auto;"><s:text name="_Country"/></td>
    
    <td style="width: 130px;"><s:text name="_CollectionTime"/></td>
    <td style="width: 100px;"><s:text name="_Operate"/></td>
  </tr>
  </thead>
  <tbody class="tbody">
  <s:bean id="show_code" name="com.prp.struts.bean.GetShowCode">	
	</s:bean>
  <s:iterator value="collectList" status="stat">
  	<tr 
  		<s:if test="#stat.odd" > class="alt1"</s:if>
  		>
	    <td><a href="<s:url action="showInfo" namespace="/file">
	    	<s:param name="itemID" value="item.itemId"></s:param>	    	
          	</s:url>">
	   	<s:property value="item.fileName" />
	   	</a>
	    </td>
	    
	    <td><s:property value="item.publishOrgan"/></td>
	    
	    <td><s:property value="%{getText(item.country)}"/></td>
	    
	    <td>	    
	    <s:date format="yyyy-MM-dd HH:mm:ss" name="date"/>
	    </td>
	    
	    <td>
	    <a href="<s:url action="delcollectinmy" namespace="/file">
	    	<s:param name="itemID" value="item.itemId"></s:param>	    	
          	</s:url>"
        ><s:text name="_Delete"/></a>
	    </td>
	    
	  </tr>
	  </s:iterator>
  </tbody>
</table>


        </div>
     </div>
</div>
    
	<s:include value="../foot.jsp"/>
    
     


</body>
</html>
